<template>
  <div class="wp">
      <div class="head-ae">
        <img src="@/assets/2_25.png" class="pic_1" @click="back"/>
        <h3>账户余额</h3>
      </div>
        <div class="money-ae">
            <h4 class="m-ae1">我的余额(元)</h4>
            <h2 class="m-ae2">1375.00</h2>
        </div>
        <div class="aet" @click="chongzhi">
        <h4 class="aet-cz">充值</h4>
        </div>
  </div>
</template>

<script>
export default {
  // 定义属性
  data() {
    return {
      
    }
  },
  // 计算属性，会监听依赖属性值随之变化
  computed: {
  },
  // 监控data中的数据变化
  watch: {},
  // 方法集合
  methods: {
    back(){
        this.$router.go(-1);//返回上一层
    },
    chongzhi () {
      this.$router.push('/recharge')
    }
  },
  // 生命周期 - 创建完成（可以访问当前this实例）
  created() {
    
  },
  // 生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {
    
  }
}
</script>

<style lang='less'>
   .head-ae {
  width: 100%;
  height: 160px;
  background-color: #21272e;
  z-index: 999;
  .pic_1 {
    width: 34px;
    height: 33px;
    margin-top: 112px;
    margin-left: 48px;
  }
  h3{
    position: absolute;
    left: 50%;
    top: 95px;
    transform: translate(-50%);
    	font-size: 44px;
	    font-weight: normal;
    	font-stretch: normal;
    	letter-spacing: 0px;
    	color: #ffffff;
  }
}
.money-ae{
    margin: 0 auto;
    margin-top:50px;
    width: 654px;
	height: 320px;
	background-color: #2b323b;
	box-shadow: 0px 30px 50px 0px 
	rgba(33, 39, 46, 0.08);
	border-radius: 16px;
    .m-ae1{
    padding-top: 60px;
    margin-left: 50px;
    font-size: 48px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #75808d;
    }
    .m-ae2{
    margin-left: 40px;
    padding-top: 20px;
    font-size: 128px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #ffffff;
    }
}
.aet-cz{
    position: absolute;
    bottom: 40px;
    text-align: center;
    line-height: 142px;
    font-size: 44px;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #dcdeea;
    width: 750px;
	height: 142px;
	background-color: #fb6894;
  }
</style>